var $appinfo={
	XPCOM:Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo),
	get:function(str){
		switch (str){
			case "name":
				return $appinfo.XPCOM.name;
				break;
			case "id":
				return $appinfo.XPCOM.ID;
				break;
		}
	},

}